$.get("https://cdn.jsdelivr.net/npm/lodash@4.17.5/lodash.min.js", function () {
    var result = "";
    $("#content > div.leftContent > ul > li > div.info").each(function () {
        var tmp = "";

        //位置
        var flood = $(this).children(".flood").text().replace(new RegExp('#', 'g'), " ").split("-");
        tmp = tmp + _.trim(flood[0]) + "#";
        tmp = tmp + _.trim(flood[1]) + "#";

        //价格
        tmp = tmp + _.trim($(this).find(".totalPrice").text().replace(new RegExp('万', 'g'), " ")) + "#";
        tmp = tmp + $(this).find(".unitPrice").text().replace(new RegExp('[^0-9]', 'g'), "") + "#";

        //标题
        tmp = tmp + $(this).children(".title").text().replace(new RegExp('#', 'g'), " ") + "#";

        //满五唯一
        tmp = tmp + $(this).find(".five , .taxfree").text().replace(new RegExp('#', 'g'), " ") + "#";

        //其他信息
        tmp = tmp + $(this).children(".address").text()
            .replace(new RegExp('#', 'g'), " ")
            .replace(new RegExp("\\s", 'g'), "") + "#";

        //房源链接
        tmp = tmp + $(this).find(".title > a").prop("href") + "#";

        //小区链接
        tmp = tmp + $(this).find(".flood a").first().prop("href") + "#";

        tmp = tmp + "\n";
        tmp = tmp.replace(new RegExp(',', 'g'), " ");
        tmp = tmp.replace(new RegExp('，', 'g'), " ");
        result = result + tmp;
    });
    $.post("https://x.mininglamp.com/save", result);
})